package com.xinou.daily_report.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinou.common.base.database.EntityBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @since 2021-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SysNotification对象", description="")
public class SysNotification extends EntityBase {


    @ApiModelProperty(value = "干的事情")
    private String matter;

    @ApiModelProperty(value = "插入时间 yyyy-MM-dd HH:mm:ss", example = "2020-11-28 00:12:23", required = true)
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "insert_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime insertTime;

    private Long userId;

    private Long deptId;

    @ApiModelProperty(value = "通报的次数")
    private Long notificationCount;

    private Long sort;

}
